1
general::
Accompany specific circumstances, as in You may not like the new coach, but he comes with the territory, or As the editor, you may not like listening to complaints, but it comes with the territory. This term uses territory in the sense of "sales district," and the phrase originally meant that traveling sales personnel had to accept whatever problems or perquisites they found in their assigned region. Today it is applied in many other contexts. [Second half of 1900s]
American Heritage Idioms
2
general::
Phrase(s): come with the territory [and] go with the territory
Fig. to be expected under circumstances like this. (Alludes to the details and difficulties attendant to something like the assignment of a specific sales territory to a salesperson. When one accepts the assignment, one accepts the problems.) • There is a lot of paperwork in this job. Oh, well, I guess it comes with the territory. • There are problems, but they go with the territory.
McGrawhill's American Idioms And Phrasal Verbs